package finn.movingheadtracker.gui;

import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;

import finn.movingheadtracker.Configuration;
import finn.movingheadtracker.libs.DnDTabbedPane;

public class MainTabbedPane extends DnDTabbedPane implements ListDataListener{
	public MainTabbedPane() {
		Configuration.views.addListDataListener(this);
	}

	@Override
	public void contentsChanged(ListDataEvent arg0) {
		System.out.print(".contentsChanged triggered:");
	}

	@Override
	public void intervalAdded(ListDataEvent arg0) {
		System.out.println(".intervalAdded triggered");
	}

	@Override
	public void intervalRemoved(ListDataEvent arg0) {
		System.out.println(".intervalRemoved triggered");
		
	}
	
}
